//
//  PBHomeLifeCell.m
//  PBHomeDemo
//
//  Created by Playboy on 2018/3/14.
//  Copyright © 2018年 tmkj. All rights reserved.
//

#import "PBHomeLifeCell.h"
#import "PBLifeServeController.h"

@interface PBHomeLifeCell ()
- (IBAction)oneButtonClick:(UIButton *)sender;
- (IBAction)secButtonClick:(UIButton *)sender;

@end

@implementation PBHomeLifeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)oneButtonClick:(UIButton *)sender {
    PBLifeServeController *vc = [[PBLifeServeController alloc] init];
    vc.hidesBottomBarWhenPushed = YES;
    vc.type = 2;
    [self.jumpVC.navigationController pushViewController:vc animated:YES];
}

- (IBAction)secButtonClick:(UIButton *)sender {
    PBLifeServeController *vc = [[PBLifeServeController alloc] init];
    vc.hidesBottomBarWhenPushed = YES;
    vc.type = 3;
    [self.jumpVC.navigationController pushViewController:vc animated:YES];
}
@end
